/**
 * @description 帮助中心
 */
import React from 'react';
import loadable from "commons/loadable";
import RouterNotMatch from "components/RouterNotMatch";
import { HashRouter, Route, Switch } from 'react-router-dom';
import EntryBase from "../Common/EntryBase";

import util from "commons/util";
let query = util.parseQueryString();

class App extends EntryBase {
    constructor(props) {
        super(props);
    }
    render() {
        return (
            <HashRouter>
                <Switch>
                    <Route path="/Buyer" component={loadable(() => import("./Buyer"))} />
                    <Route path="/Seller" component={loadable(() => import("./Seller"))} />
                    <Route path="*" component={RouterNotMatch} />
                </Switch>
            </HashRouter>
        )
    }
}

export default App;